package com.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import org.springframework.web.bind.annotation.RestController;

@RestController
@SpringBootApplication
//  开启JPA审计功能
@EnableJpaAuditing
public class JournalSystemApplication {

    public static void main(String[] args) {
        SpringApplication.run(JournalSystemApplication.class, args);
    }

}
